package cn.tedu.management.resident.service.impl;

import cn.tedu.management.resident.mapper.ResidentMapper;
import cn.tedu.management.resident.pojo.dto.ResidentQuery;
import cn.tedu.management.resident.service.ResidentService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Slf4j
@Service
public class ResidentServiceImpl implements ResidentService {

    @Autowired
    ResidentMapper residentMapper;
    @Override
    public void selectResi(ResidentQuery residentQuery) {
        log.debug("查询住户业务:参数={}",residentQuery);
        residentMapper.selectResident(residentQuery);
        residentMapper.selectQuery(residentQuery);
    }
}
